package com.cenarius.game.map;

import java.util.Map;

import com.mongodb.BasicDBObject;

public class RangedSize extends BasicDBObject {

	private static final long serialVersionUID = -5787726975190999365L;

	public RangedSize(Integer xFrom,Integer xTo,Integer yFrom,Integer yTo) {
		BasicDBObject objX=new BasicDBObject();
		objX.put("from", xFrom);
		objX.put("to", xTo);
		BasicDBObject objY=new BasicDBObject();
		objX.put("from", yFrom);
		objX.put("to", yTo);
		this.put("x", objX);
		this.put("y", objY);
	}
}
